package com.wlient.basic.Thread.newThread;

public class Lazy {

    private void Lazy() {
    }

    public volatile Lazy lazy;

    public Lazy getLazy() {
        if (lazy == null) {
            synchronized (Lazy.class) {
                if (lazy == null) {
                    lazy = new Lazy();

                }
            }
        }
        return lazy;
    }


}
